package com.lucweb.entity;

import javax.persistence.*;

@Entity
@Table(name = "task_question", schema = "firesystem", catalog = "")
public class TaskQuestion {
    private int id;
    private String companyName;
    private String questionName;
    private String type;
    private String insertTime;
    private String isfinish;
    private String details;
    private String dutyPeople;
    private String mustDo;
    private String wbclyy;
    private String cj;
    private String gf;
    private String hzr;
    private String hzsj;
    private String lx;
    private String qz;
    private String sl;
    private String sxcl;
    private String xj;
    private String isSelected;
    private String cldj;
    private String fldj;
    private String zj;
    private String ztjzrbgjl;
    private String clcb;
    private String flcb;
    private String wxfa;
    private String fcmcxjsl;
    private String gjxh;
    private String rgbj;
    private String needcl;
    private String level;

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "companyName", nullable = true, length = 255)
    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Basic
    @Column(name = "questionName", nullable = true, length = 255)
    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    @Basic
    @Column(name = "type", nullable = true, length = 255)
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Basic
    @Column(name = "insertTime", nullable = true, length = 255)
    public String getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(String insertTime) {
        this.insertTime = insertTime;
    }

    @Basic
    @Column(name = "isfinish", nullable = true, length = 255)
    public String getIsfinish() {
        return isfinish;
    }

    public void setIsfinish(String isfinish) {
        this.isfinish = isfinish;
    }

    @Basic
    @Column(name = "details", nullable = true, length = 255)
    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    @Basic
    @Column(name = "dutyPeople", nullable = true, length = 255)
    public String getDutyPeople() {
        return dutyPeople;
    }

    public void setDutyPeople(String dutyPeople) {
        this.dutyPeople = dutyPeople;
    }

    @Basic
    @Column(name = "mustDo", nullable = true, length = 255)
    public String getMustDo() {
        return mustDo;
    }

    public void setMustDo(String mustDo) {
        this.mustDo = mustDo;
    }

    @Basic
    @Column(name = "wbclyy", nullable = true, length = 255)
    public String getWbclyy() {
        return wbclyy;
    }

    public void setWbclyy(String wbclyy) {
        this.wbclyy = wbclyy;
    }

    @Basic
    @Column(name = "cj", nullable = true, length = 255)
    public String getCj() {
        return cj;
    }

    public void setCj(String cj) {
        this.cj = cj;
    }

    @Basic
    @Column(name = "gf", nullable = true, length = 255)
    public String getGf() {
        return gf;
    }

    public void setGf(String gf) {
        this.gf = gf;
    }

    @Basic
    @Column(name = "hzr", nullable = true, length = 255)
    public String getHzr() {
        return hzr;
    }

    public void setHzr(String hzr) {
        this.hzr = hzr;
    }

    @Basic
    @Column(name = "hzsj", nullable = true, length = 255)
    public String getHzsj() {
        return hzsj;
    }

    public void setHzsj(String hzsj) {
        this.hzsj = hzsj;
    }

    @Basic
    @Column(name = "lx", nullable = true, length = 255)
    public String getLx() {
        return lx;
    }

    public void setLx(String lx) {
        this.lx = lx;
    }

    @Basic
    @Column(name = "qz", nullable = true, length = 255)
    public String getQz() {
        return qz;
    }

    public void setQz(String qz) {
        this.qz = qz;
    }

    @Basic
    @Column(name = "sl", nullable = true, length = 255)
    public String getSl() {
        return sl;
    }

    public void setSl(String sl) {
        this.sl = sl;
    }

    @Basic
    @Column(name = "sxcl", nullable = true, length = 255)
    public String getSxcl() {
        return sxcl;
    }

    public void setSxcl(String sxcl) {
        this.sxcl = sxcl;
    }

    @Basic
    @Column(name = "xj", nullable = true, length = 255)
    public String getXj() {
        return xj;
    }

    public void setXj(String xj) {
        this.xj = xj;
    }

    @Basic
    @Column(name = "isSelected", nullable = true, length = 255)
    public String getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(String isSelected) {
        this.isSelected = isSelected;
    }

    @Basic
    @Column(name = "cldj", nullable = true, length = 255)
    public String getCldj() {
        return cldj;
    }

    public void setCldj(String cldj) {
        this.cldj = cldj;
    }

    @Basic
    @Column(name = "fldj", nullable = true, length = 255)
    public String getFldj() {
        return fldj;
    }

    public void setFldj(String fldj) {
        this.fldj = fldj;
    }

    @Basic
    @Column(name = "zj", nullable = true, length = 255)
    public String getZj() {
        return zj;
    }

    public void setZj(String zj) {
        this.zj = zj;
    }

    @Basic
    @Column(name = "ztjzrbgjl", nullable = true, length = 255)
    public String getZtjzrbgjl() {
        return ztjzrbgjl;
    }

    public void setZtjzrbgjl(String ztjzrbgjl) {
        this.ztjzrbgjl = ztjzrbgjl;
    }

    @Basic
    @Column(name = "clcb", nullable = true, length = 255)
    public String getClcb() {
        return clcb;
    }

    public void setClcb(String clcb) {
        this.clcb = clcb;
    }

    @Basic
    @Column(name = "flcb", nullable = true, length = 255)
    public String getFlcb() {
        return flcb;
    }

    public void setFlcb(String flcb) {
        this.flcb = flcb;
    }

    @Basic
    @Column(name = "wxfa", nullable = true, length = 255)
    public String getWxfa() {
        return wxfa;
    }

    public void setWxfa(String wxfa) {
        this.wxfa = wxfa;
    }

    @Basic
    @Column(name = "fcmcxjsl", nullable = true, length = 255)
    public String getFcmcxjsl() {
        return fcmcxjsl;
    }

    public void setFcmcxjsl(String fcmcxjsl) {
        this.fcmcxjsl = fcmcxjsl;
    }

    @Basic
    @Column(name = "gjxh", nullable = true, length = 255)
    public String getGjxh() {
        return gjxh;
    }

    public void setGjxh(String gjxh) {
        this.gjxh = gjxh;
    }

    @Basic
    @Column(name = "rgbj", nullable = true, length = 255)
    public String getRgbj() {
        return rgbj;
    }

    public void setRgbj(String rgbj) {
        this.rgbj = rgbj;
    }

    @Basic
    @Column(name = "needcl", nullable = true, length = 255)
    public String getNeedcl() {
        return needcl;
    }

    public void setNeedcl(String needcl) {
        this.needcl = needcl;
    }

    @Basic
    @Column(name = "level", nullable = true, length = 255)
    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TaskQuestion that = (TaskQuestion) o;

        if (id != that.id) return false;
        if (companyName != null ? !companyName.equals(that.companyName) : that.companyName != null) return false;
        if (questionName != null ? !questionName.equals(that.questionName) : that.questionName != null) return false;
        if (type != null ? !type.equals(that.type) : that.type != null) return false;
        if (insertTime != null ? !insertTime.equals(that.insertTime) : that.insertTime != null) return false;
        if (isfinish != null ? !isfinish.equals(that.isfinish) : that.isfinish != null) return false;
        if (details != null ? !details.equals(that.details) : that.details != null) return false;
        if (dutyPeople != null ? !dutyPeople.equals(that.dutyPeople) : that.dutyPeople != null) return false;
        if (mustDo != null ? !mustDo.equals(that.mustDo) : that.mustDo != null) return false;
        if (wbclyy != null ? !wbclyy.equals(that.wbclyy) : that.wbclyy != null) return false;
        if (cj != null ? !cj.equals(that.cj) : that.cj != null) return false;
        if (gf != null ? !gf.equals(that.gf) : that.gf != null) return false;
        if (hzr != null ? !hzr.equals(that.hzr) : that.hzr != null) return false;
        if (hzsj != null ? !hzsj.equals(that.hzsj) : that.hzsj != null) return false;
        if (lx != null ? !lx.equals(that.lx) : that.lx != null) return false;
        if (qz != null ? !qz.equals(that.qz) : that.qz != null) return false;
        if (sl != null ? !sl.equals(that.sl) : that.sl != null) return false;
        if (sxcl != null ? !sxcl.equals(that.sxcl) : that.sxcl != null) return false;
        if (xj != null ? !xj.equals(that.xj) : that.xj != null) return false;
        if (isSelected != null ? !isSelected.equals(that.isSelected) : that.isSelected != null) return false;
        if (cldj != null ? !cldj.equals(that.cldj) : that.cldj != null) return false;
        if (fldj != null ? !fldj.equals(that.fldj) : that.fldj != null) return false;
        if (zj != null ? !zj.equals(that.zj) : that.zj != null) return false;
        if (ztjzrbgjl != null ? !ztjzrbgjl.equals(that.ztjzrbgjl) : that.ztjzrbgjl != null) return false;
        if (clcb != null ? !clcb.equals(that.clcb) : that.clcb != null) return false;
        if (flcb != null ? !flcb.equals(that.flcb) : that.flcb != null) return false;
        if (wxfa != null ? !wxfa.equals(that.wxfa) : that.wxfa != null) return false;
        if (fcmcxjsl != null ? !fcmcxjsl.equals(that.fcmcxjsl) : that.fcmcxjsl != null) return false;
        if (gjxh != null ? !gjxh.equals(that.gjxh) : that.gjxh != null) return false;
        if (rgbj != null ? !rgbj.equals(that.rgbj) : that.rgbj != null) return false;
        if (needcl != null ? !needcl.equals(that.needcl) : that.needcl != null) return false;
        if (level != null ? !level.equals(that.level) : that.level != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (companyName != null ? companyName.hashCode() : 0);
        result = 31 * result + (questionName != null ? questionName.hashCode() : 0);
        result = 31 * result + (type != null ? type.hashCode() : 0);
        result = 31 * result + (insertTime != null ? insertTime.hashCode() : 0);
        result = 31 * result + (isfinish != null ? isfinish.hashCode() : 0);
        result = 31 * result + (details != null ? details.hashCode() : 0);
        result = 31 * result + (dutyPeople != null ? dutyPeople.hashCode() : 0);
        result = 31 * result + (mustDo != null ? mustDo.hashCode() : 0);
        result = 31 * result + (wbclyy != null ? wbclyy.hashCode() : 0);
        result = 31 * result + (cj != null ? cj.hashCode() : 0);
        result = 31 * result + (gf != null ? gf.hashCode() : 0);
        result = 31 * result + (hzr != null ? hzr.hashCode() : 0);
        result = 31 * result + (hzsj != null ? hzsj.hashCode() : 0);
        result = 31 * result + (lx != null ? lx.hashCode() : 0);
        result = 31 * result + (qz != null ? qz.hashCode() : 0);
        result = 31 * result + (sl != null ? sl.hashCode() : 0);
        result = 31 * result + (sxcl != null ? sxcl.hashCode() : 0);
        result = 31 * result + (xj != null ? xj.hashCode() : 0);
        result = 31 * result + (isSelected != null ? isSelected.hashCode() : 0);
        result = 31 * result + (cldj != null ? cldj.hashCode() : 0);
        result = 31 * result + (fldj != null ? fldj.hashCode() : 0);
        result = 31 * result + (zj != null ? zj.hashCode() : 0);
        result = 31 * result + (ztjzrbgjl != null ? ztjzrbgjl.hashCode() : 0);
        result = 31 * result + (clcb != null ? clcb.hashCode() : 0);
        result = 31 * result + (flcb != null ? flcb.hashCode() : 0);
        result = 31 * result + (wxfa != null ? wxfa.hashCode() : 0);
        result = 31 * result + (fcmcxjsl != null ? fcmcxjsl.hashCode() : 0);
        result = 31 * result + (gjxh != null ? gjxh.hashCode() : 0);
        result = 31 * result + (rgbj != null ? rgbj.hashCode() : 0);
        result = 31 * result + (needcl != null ? needcl.hashCode() : 0);
        result = 31 * result + (level != null ? level.hashCode() : 0);
        return result;
    }
}
